package com.ark.cloud.java.persistence.entity;


/**
 * Copyright(c): 2021 Cloud-Ark Inc.
 * Author(s): Ma Wei (mawei@cloud-ark.com)
 */

public class ServerInfo {
    private String sServerIp;
    private int nServerPort;

    public ServerInfo() {

    }

    public ServerInfo(String sServerIp, int nServerPort) {
        this.sServerIp = sServerIp;
        this.nServerPort = nServerPort;
    }

    public String getsServerIp() {
        return sServerIp;
    }

    public void setsServerIp(String sServerIp) {
        this.sServerIp = sServerIp;
    }

    public int getnServerPort() {
        return nServerPort;
    }

    public void setnServerPort(int nServerPort) {
        this.nServerPort = nServerPort;
    }

    @Override
    public String toString() {
        return "ServerInfo{" +
                "sServerIp='" + sServerIp + '\'' +
                ", nServerPort=" + nServerPort +
                '}';
    }
}
